<?php


namespace app\common\model;


class Slide extends BaseModel{
    public static function getSlideIdByPosition($position='home'){
        $result = self::where('position',$position)->where('enable',1)->column('id');
        return $result;
    }
}